package jmind.asteroidea.core;

import lombok.Data;

/**
 * description: 实现描述类
 * @author weibo.xie
 * @date:2022/7/12 下午2:18
 */
@Data
public class StarfishSpec  implements  Comparable<StarfishSpec>{
    /***标签***/
    private String tag;
    /***bean的名字***/
    private String beanName;
    /***实现类***/
    private Class implClass;
    /**默认执行顺序，数字越小越靠前*/
    private int order ;



    @Override
    public int compareTo(StarfishSpec o) {
        return order-o.getOrder();
    }
}
